package social_network.dao;


import social_network.entities.Film;
import social_network.exceptions.*;

import java.util.List;

/**
 * Author: Aleksey Alekseenko
 * Date: 15.07.13
 */
public interface FilmDao {
    void addFilm(Film film) throws NotUniqueParameterException;;
    Film selectFilmById(int id);
    Film selectFilmByTitle(String title);
//            updateFilmTitle(int id, String newTitle);
//            updateFilmSummary(int id, String newSummary);
//            updateFilmRating(int id, double new_rating);
	void deleteFilm(int id) throws NotExistsParameterException; 

}
